class Student {
    private int id;
    private String name;
    private int age;
    private String classInfo;
    private String gender;
    private String personality;

    public Student(int id, String name, int age, String classInfo, String gender, String personality) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.classInfo = classInfo;
        this.gender = gender;
        this.personality = personality;
    }

    public void say() {
        System.out.println("我叫" + name + "，学号是" + id + "，今年" + age + "岁，在" + classInfo + "，性别" + gender + "，性格" + personality);
    }
}
 class main {
    public static void main(String[] args) {
        Student stu1 = new Student(1001, "张三", 18, "1班", "男", "热情开朗");
        Student stu2 = new Student(1002, "李四", 19, "2班", "女", "自信大方");
        Student  stu
        stu1.say();
        stu2.say();
    }
}
